//src\router\index.js

import Vue from 'vue'
import Router from 'vue-router'


Vue.use(Router)

export default new Router({
  mode: 'hash',
  routes: [
    {
      path: '/test',
      name: 'HelloWorld',
      component: () => { return import('@/components/HelloWorld.vue') }
    },
    {
      path: '/',
      name: 'index',//客户聊天，内分四个区域
      component: () => { return import('@/Views/index/index.vue') }
    },
    {
      path: '/workbenchSend',
      name: 'workbenchSend',//工作台发送
      component: () => { return import('@/Views/workbenchSend/index') }
    },
    {
      path: '/appCSchat',
      name: 'appCSchat',
      component: () => { return import('@/Views/AppCSchat/index.vue') }
    },
    {
      path: '/Reporting',
      name: 'Reporting',
      component: () => { return import('@/Views/Reporting/index.vue') }
    },
    {
      path: '/AboutLabel',
      name: 'AboutLabel',
      component: () => { return import('@/Views/AboutLabel/index.vue') }
    },
    {
      path: '/MassMsgRrecord',
      name: 'MassMsgRrecord',
      component: () => { return import('@/Views/MassMsgRrecord/index.vue') }
    }
  ]
})